package xyz.hubery.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import xyz.hubery.domain.Account;
import xyz.hubery.domain.AccountDetail;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

public interface AccountDetailService extends IService<AccountDetail>{


    Page<AccountDetail> findPage(Long userId, String userName, String mobile, Integer amountStart, Integer amountEnd, Long accountId, String startTime, String endTime, Page<AccountDetail> page);

    boolean addAccountDetail(Account account, Long orderId, Byte direction, String bussinessType, BigDecimal mum,BigDecimal fee,String remark);

}
